<template>
    <div @click="gotoHome()">登录</div>
</template>
<script setup lang="ts">
import { useRouter } from "vue-router";
const router = useRouter();
const gotoHome=()=>{
    router.push({
        path:"/main/first"
    })
}
</script>